This effect requires jQuery
This goes in the documents header:<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="RGraph.common.core.js"></script> <script src="RGraph.common.effects.js"></script> <script src="RGraph.bar.js"></script>Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="250"> [No canvas support] </canvas>This is the code that generates the chart:
<script> window.onload = function () { var data = [4,8,6,3,1,2,5]; var bar = new RGraph.Bar({ id: 'cvs', data: data, options: { labels: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'], textAccessible: false } }).draw() .fadeCircularOutOutwards({frames: 300}); }; </script>